// 团队配置，渠道配置
import {apiRequestList} from "@/common/axios";

const caseList = "/dt-business/team/teams";//人员拥有的团队列表
const customerVisit = "/dt-business/count/customerVisit/querySummary";//访客数总览
const customerVisitDetail = "/dt-business/count/customerVisit/pageQuery";//访客详情分页查询                           
const visitorExport = "/dt-business/count/customerVisit/visitorExport";//访客详情分页导出
const visitList = "/dt-business/count/customerVisit/visitorQuery";//访客客户列表接口
const housePlanReport = "/dt-business/count/housePlan/planQuery";//置业报告列表
const housePlan = "/dt-business/count/housePlan/pageQuery";//置业计划书明细分页查询


const infoPerfect = "/dt-business/count/customerVisit/infoPerfect";//客户信息完善统计
const infoPerfectDetail = "/dt-business/count/customerVisit/infoPerfectDetail";//客户信息完善统计明细查询







const followUp = "/dt-business/count/customerVisit/followUp";//客户跟进统计
const followUpDetail = "/dt-business/count/customerVisit/followUpDetail";//客户跟进统计明细查询

const userIntegralExport = "/dt-business/userIntegral/export";//导出所有顾问积分信息




export const getVisitList = (params)=>{ return apiRequestList.$post(visitList,params) };
export const getHousePlanReport = (params)=>{ return apiRequestList.$post(housePlanReport,params) };
export const getCaseList = (params)=>{return apiRequestList.$post(caseList,params)};
export const getCustomerVisit = (params)=>{return apiRequestList.$post(customerVisit,params)};
export const getCustomerVisitDetail = (params)=>{ return apiRequestList.$post(customerVisitDetail,params)};
export const getVisitorExport = (params)=>{return apiRequestList.$post(visitorExport,params)};
export const getHousePlan = (params)=>{return apiRequestList.$post(housePlan,params)};



export const getInfoPerfect = (params)=>{return apiRequestList.$post(infoPerfect,params)};
export const getInfoPerfectDetail = (params)=>{return apiRequestList.$post(infoPerfectDetail,params)};
export const getFollowUp = (params)=>{return apiRequestList.$post(followUp,params)};
export const getFollowUpDetail = (params)=>{return apiRequestList.$post(followUpDetail,params)};

export const getUserIntegralExport = (params)=>{return apiRequestList.$post(userIntegralExport,params)};





// export const getUserIntegralExport = (params)=>{return apiRequestList.$post(userIntegralExport,params)};



